home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 424_02 / ED-157 / file.h < prev    next >
C/C++ Source or Header  |  1993-11-19  |  387b  |  25 lines

  1. #ifdef VMS
  2. #include <file.h>
  3. #include <unixio.h>
  4. #include <stat.h>
  5. #else
  6. #include <sys/stat.h>
  7. #include <fcntl.h>
  8. #endif
  9.  
  10. #ifndef S_ISDIR
  11. #define S_ISDIR(x) (x & S_IFDIR)
  12. #endif
  13.  
  14. #ifdef NeXT
  15. #define S_IRUSR 0400
  16. #define S_IWUSR 0200
  17. #define S_IXUSR 0100
  18. #define S_IRGRP 0040
  19. #define S_IWGRP 0020
  20. #define S_IXGRP 0010
  21. #define S_IROTH 0004
  22. #define S_IWOTH 0002
  23. #define S_IXOTH 0001
  24. #endif
  25.